package thread.test1BaseThread.domain;

public class MyThread2 implements Runnable {

    private Thread main;

    public MyThread2(Thread t1) {
        this.main = t1;
    }

    @Override
    public void run() {
        System.out.println("t2 start .....");
        main.interrupt();
        System.out.println("t1 interupt.....");
    }

}
